﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NextInventory.Model.Menufacturer;
using NextInventory.Model.Inventory;
using NextInventory.Model.Purchase;

namespace NextInventory.Model.Purchase
{
    public class PurchaseReturnDetailModel : BaseViewModel
    {
        public int ID { get; set; }
        public int PurchaseReturnId { get; set; }
        public long ProductId { get; set; }
        public bool IsDefactive { get; set; }
        public decimal PurchaseRate { get; set; }
        public int ReturnQty { get; set; }
        public int MenufacturerId { get; set; }
        public decimal Amount { get; set; }
        public string Remarks { get; set; }

        public List<MenufacturerModel> Menufacturer { get; set; }
        public List<ProductsModel> Product { get; set; }
        public List<PurchaseReturnModel> PurchaseReturn { get; set; }

        public PurchaseReturnDetailModel()
        {
            Menufacturer = new List<MenufacturerModel>();
            Product = new List<ProductsModel>();
            PurchaseReturn = new List<PurchaseReturnModel>();
        }
    }
}
